/**
 * Created by 李海强1 on 2016/10/19.
 */
Ext.define("UDZ.view.personal.Myinfo_change_header", {
    extend : 'Ext.Panel',
    xtype: 'changeHeader',
    requires:[
        'Ext.field.DatePicker'
    ],
    config: {
        xtype:'panel',
        fullscreen:true,
        cls:'change_nick',
        style:'background-color:white;',
        layout:{
            type:'vbox'
        },
        items:[
            {
                xtype:'toolbar',
                title:'修改头像',
                items:[
                    {
                        xtype:'image',
                        cls:'myinfo_back',
                        id:'header_go_back_myinfo',
                        src:'resources/images/left-arrow.png',
                    }
                ]
            },
            {
                xtype:'panel',
                cls:'personal_container border',
                height:100,
                layout:{
                    type:'hbox'
                },
                items:[
                    {
                        flex:3,
                        xtype: 'panel',
                        cls:'change_myHeader',
                        html:[
                            '我的头像'
                        ]
                    },
                    {
                        flex:7,
                        xtype:'image',
                        // style:'padding:10px 0',
                        styleHtmlContent:false,
                        src:'resources/images/UserHead.jpg',
                        imageCls:'change_UserHeader',
                        // 查看头像
                    }
                ]
            },
            {
                 xtype:'button',
                 text:'保存',
                 cls:'nick_save_btn'
            }
        ]
    }

});
